import request from '@/utils/http.js'

//获取科目信息
export const getSubject = params => request('get','api/app/getSubject',params)

//获取应用信息
export const getAdminApp = params => request('get','api/app/getAdminApp',params)

//应用市场安装
export const appInstall = params => request('post','api/app/appInstall',params)

//获取我的应用
export const queryParentApp = params => request('get','api/app/queryParentApp',params)

//删除我的应用
export const deleteParent = params => request('post','api/app/deleteParent',params)

//应用市场推送
export const appPush = params => request('post','api/app/appPush',params)

//修改应用为非静默状态
export const editAppSilent = params => request('post','api/app/editAppSilent',params)

//获取应用市场app详情
export const getAppDetails = params => request('get','mini/app/getAppDetails',params)

export const getOssImgInfo = params => request('post','api/getOssImgInfo',params)

export const getOssApkInfo = params => request('post','api/getOssApkInfoAdd',params)

export const getOssApkDetail = params => request('post','api/getOssApkDetail',params)
//添加应用
export const addSelfApp = params => request('post','mini/app/addSelfApp',params)
//获取小程序应用分类 getCateGory
export const getCateGory = params => request('get','mini/app/getCateGory',params)
//获取全部应用的包名 getAllAppMd5
export const getAllAppMd5 = params => request('get','mini/app/getAllAppMd5',params)
//已上传应用获取文件信息 isUploadApkDetail
export const isUploadApkDetail = params => request('post','api/isUploadApkDetail',params)
